<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Lenovo
  Date: 2020/8/24
  Time: 9:46
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html>
<style>
    /*table tbody {*/
    /*    display:block;*/
    /*    height:195px;*/
    /*    overflow-y:scroll;*/
    /*}*/

    table thead, tbody tr {
        display:table;
        width:100%;
        table-layout:fixed;
    }



    /*table thead {*/
    /*    width: calc( 100% - 1em )*/
    /*}*/
    /*table thead th{ background:#ccc;}*/
</style>
<head>
    ${msg}
    <meta charset="utf-8"/>
    <title>后台管理系统-HTML5后台管理系统</title>
    <meta name="keywords"  content="设置关键词..." />
    <meta name="description" content="设置描述..." />
    <meta name="author" content="DeathGhost" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
    <link rel="icon" href="static/images/icon/favicon.ico" type="image/x-icon">
    <link rel="stylesheet" type="text/css" href="static/css/styleAdmin.css" />
    <link rel="stylesheet" type="text/css" href="" />
    <script src="static/js/jqueryAdmin.js"></script>
    <script src="static/js/plug-ins/customScrollbar.min.js"></script>
    <script src="static/js/plug-ins/echarts.min.js"></script>
    <script src="static/js/plug-ins/layerUi/layer.js"></script>
    <script src="static/js/plug-ins/pagination.js"></script>
    <script src="static/js/public.js"></script>
</head>
<body>
<div class="main-wrap">
    <div class="side-nav">
        <%@ include file="_linkPages/leftBar.jsp"%>
        <%@ include file="_linkPages/footer.jsp"%>
    </div>
    <div class="content-wrap">
        <%@ include file="_linkPages/rightBar.jsp"%>
        <main class="main-cont content mCustomScrollbar">
            <div class="page-wrap">
                <table class="table mb-15">
                    <thead>
                        <tr>
                            <th><input type="checkbox"/></th>
                            <th>编号</th>
                            <th>用户名</th>
                            <th>密码</th>
                            <th>电话</th>
                            <th>盐值</th>
                            <th>操作</th>
                        </tr>
                    </thead>
                    <tbody>
                        <c:forEach items="${users}" var="user">
                            <tr class="cen">
                                <td style="vertical-align: middle;"><input type="checkbox"/></td>
                                <td style="vertical-align: middle;">${user.id}</td>
                                <td style="vertical-align: middle;">${user.username}</td>
                                <td style="vertical-align: middle;">${user.password}</td>
                                <td style="vertical-align: middle;">${user.phone}</td>
                                <td style="vertical-align: middle;">${user.salt}</td>
                                <td style="vertical-align: middle;">
                                    <a title="编辑" class="mr-5">编辑</a>
                                    <a title="详情" class="mr-5">详情</a>
                                    <a title="修改"href="${basePath}user?method=queryUser&id=${user.id}">修改</a>
                                    <a title="删除"href="${basePath}user?method=delUser&id=${user.id}">删除</a>
                                </td>
                            </tr>
                        </c:forEach>
                    </tbody>
                </table>
                <%@ include file="_linkPages/page.jsp"%>
            </div>
        </main>


</div>
</body>
</html>

</div>